package sctu.edu.java.year2016.team01.xuhanmei.day20160521.chapter5_1;

/**
 * Created by Administrator on 2016/5/24.
 * 创建一个一维数组，并将其遍历输出。
 */
public class Traverse1 {
    public static void main(String[] args) {
        int[] arr = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
        int adt = 0;
        while (adt < arr.length) {
            System.out.println(arr[adt++] + " ");

        }
    }
}
